import request from "./http";
export function getCiib():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-1eo97bRQN5",
        method:"get",
        
      
    })
}
//
export function getStell():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-NwhKPJa-yT",
        method:"get",
        
      
    })
}
export function getElis():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-MaGXnLtkLj",
        method:"get",
        
      
    })
}
export function getCarsel():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-XSDWa2scJo",
        method:"get",
        
      
    })
}
//不吃生肉
export function getMeat():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-UAoFLT9BB0",
        method:"get",
        
      
    })
}

//画画
export function getPaint():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-8Qaf-B_jhV",
        method:"get",
        
      
    })
}

 //分类
 export function getClass():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-xik98oSSBH",
        method:"get",
        
      
    })
}
 //详情页
 export function getFor(goods_id:any):any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/detail",
        method:"get",
        params:{goods_id}
        
      
    })
}
//99
export function getSep():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/user/creator?uid=4742014",
        method:"get",
        
      
    })
}
//微糖
export function getTang():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/user/creator?uid=110651175",
        method:"get",
        
      
    })
}
//丙二烯
export function getTwo():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/user/creator?uid=10155513",
        method:"get",
        
      
    })
}      
//玳玳
export function getPour():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/user/creator?uid=108002428",
        method:"get",
        
      
    })
} 


 //用户id
 export function getUser():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/user/creator?uid=185460666",
        method:"get",
        
      
    })
}

export function getLits(params:any):any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/user/creator",
        method:"get",
        params
        
      
    })
}


export function getNine(params:any):any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/creator/goods_list?limit=16&order_by "+  params  +"  =comprehensive&category_id=&show_sale_type=3&hide_sold_out=false&page=1",
        method:"get",
        params
        
      
    })
}

export function getFur():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-r5gs9FGcPb",
        method:"get",
  
      
    })
}



    //商品点击分类
    export function getShopli():any{
        return request({
            url:"https://api-mall-static.mihoyogift.com/common/homeishop/v1/category/get_category_list?shop_code=kol",
            method:"get",
      
          
        })
    }
    //每个分类的数据
    
    export function getElisop(params:any):any{
        return request({
            url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/search_goods_spu_list?page=1&limit=16&order_by=comprehensive&category_id="+ params +"&shop_code=kol&show_sale_type=1&hide_sold_out=false&goods_type=1",
            method:"get",
      
          
        })
    }



 // 作者个人主页点击https://api-mall.mihoyogift.com/common/homeishop/v1/creator/goods_list?limit=16&order_by=online_time&category_id=&show_sale_type=3&hide_sold_out=false&page=1&uid=293288500
 export function getPrms(params:any):any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/creator/goods_list?limit=16&order_by="+  params.order_by +"&category_id=&show_sale_type=3&hide_sold_out=false&page=1&uid="+params.uid,
        method:"get",
        // category_id
      
    })
}


//  商品
export function getComm():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/search_goods_spu_list?page=1&limit=16&order_by=comprehensive&shop_code=kol&show_sale_type=1&hide_sold_out=false&goods_type=1",
        method:"get",
  
      
    })
}

export function getSong():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/search_goods_spu_list?page=2&limit=16&order_by=comprehensive&shop_code=kol&show_sale_type=1&hide_sold_out=false&goods_type=1",
        method:"get",
  
      
    })
}

// 导航栏点击
export function getHere(params:any):any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/search_goods_spu_list?page=1&limit=16&order_by="+  params +"&shop_code=kol&show_sale_type=1&hide_sold_out=false&goods_type=1",
        method:"get",
  
      
    })
}
//崩铁
export function getDiye():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-PaksP-RQbj",
        method:"get",
  
      
    })
}

export function getPuzzle():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-9vHB3d4vlY",
        method:"get",
  
      
    })
}


export function getYousha():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-FZ7YKjwEWa",
        method:"get",
  
      
    })
}

export function getDesign():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/puzzle_goods_info?puzzle_id=mall_cn_kol_1683796873&component_id=pz-JGylbspG_E",
        method:"get",
  
      
    })
}







